﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MTGenome.MTG
{
    public interface IDatabase : IDisposable
    {
        IQueryable<ICard> Cards
        {
            get;
        }

        IQueryable<IExpansion> Expansions
        {
            get;
        }

        void InsertOnSubmit(ICard card);

        void InsertOnSubmit(IExpansion expansion);

        void SubmitChanges();
    }
}
